<template>
  <div class="skin">
    <button @click="changeSkin">换肤</button>
  </div>
</template>

<script setup>
import { reactive } from "vue";
console.log();
const state = reactive({
  color: "#" + parseInt(Math.random() * 0xffffff).toString(16)
});
const changeSkin = () => {
  state.color = "#" + parseInt(Math.random() * 0xffffff).toString(16);
};
</script>

<style lang="less">
@import url("./aboutView.less");
</style>
